package com.yourenbang.transaction.api.model.dto.fund;

import com.yourenbang.lingyun.constants.enums.PlatNoEnums;
import com.yourenbang.lingyun.core.base.validator.EnumValue;
import com.yourenbang.lingyun.core.util.json.ToJSON;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @Description
 * @Date 2020/12/4 17:39
 * @Created by Jason
 */
@Data
public class QueryUsersTotalAmountDTO implements Serializable, ToJSON {

    @NotEmpty(message = "userId为空")
    private List<String> userBaseIds;

    @EnumValue(enumClass= PlatNoEnums.class, message = "系统类型未通过校验")
    private Short platNo;

    private List<Short> channelIds;
}
